import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';

import { environment } from '../../environments/environment';

import { routes } from './routes';
import { SharedModule } from '../shared/shared.module';
import { DataService } from '../providers/dataIO';
// import { HuoMainTmpModule } from './components/HuoMainTmp/HuoMainTmp.module';
// import { HuoCusTmpModule } from './components/HuoCusTmp/HuoCusTmp.module';
/**
 * t通用的服务
 */
const SERVICES=[
    DataService
]
@NgModule({
    imports: [
        SharedModule,
        // ActTmpModule,
        // HuoMainTmpModule,
        // HuoCusTmpModule,
        RouterModule.forRoot(routes),
    ],
    declarations: [

    ],
    exports: [
        RouterModule
    ],
    providers:[SERVICES]
})

export class RoutesModule { }
